//  发送请求的参数的约束  接口
export interface ReqHospitalSetListParams {
    page: number,
    limit: number,
    hosname?: string,
    hoscode?: string
}

//  响应的 单个数据的对象 的接口
export interface HospitalSetItem {
    id: number,
    createTime: string,
    updateTime: string,
    isDeleted: number,
    hosname: string,
    hoscode: string,
    apiUrl: string,
    signKey: string,
    contactsName: string,
    contactsPhone: string,
    status: number
}

//设置响应 的所有数据  []  接口
export type HospitalSetList = HospitalSetItem[];

// 整个医院设置 响应的结果的接口
export interface ReqHospitalSetListResponse {
    records: HospitalSetList,
    total: number,
    size: number,
    current: number,
    searchCount: boolean,
    pages: number
}


//设置新增医院 请求参数接口
export interface ReqAddHospitalParams {
    apiUrl: string,
    contactsName: string,
    contactsPhone: string,
    hoscode: string,
    hosname: string
}

export interface ReqUpdateHospitalParams extends ReqAddHospitalParams{
    id:number
}




